<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <%=stylesheet_link_tag 'trinit_admin' %><%=javascript_include_tag 'trinit' %>
        <title>Administration Panel</title>
    </head>
    <body id="home">
        <div id="container">
            <div id="header">
                <h1 id="sidename">Administration Panel</h1>
                <div id="global_nav">
                    <ul id="nav_menu">
                        <li id="first_nav" class="top">
                            <%=link_to 'Articles', {:controller => 'admin/articles'}, {:class => 'top'} %>
                            <ul>
                                <li>
                                    <%=link_to 'New Post', {:controller => 'admin/articles', :action => 'new'}, {:class => 'nav'} %>
                                </li>
                            </ul>
                        </li>
                        <li class="top">
                            <a href="#" class="top">Users</a>
                            <ul>
                                <li>
                                    <a href="#" class="nav">New User</a>
                                </li>
                            </ul>
                        </li>
                        <li class="top">
                          <%= link_to 'Settings', {:controller => 'admin/settings'}, {:class => 'top'} %>
                        </li>
                    </ul>
                    <div id="nav_end">
                    </div>
                    <div id="login">
                        Hello, Babaru Trinit |&nbsp;<%=link_to 'Sign Out', :controller => '/sign', :action => 'out' %>&nbsp;|&nbsp;<a href="#">Profile</a>
                        |&nbsp;<%= link_to 'View Site', @this_blog.blog_url %>
                    </div>
                </div>
                <!-- global nav -->
            </div>
            <!-- /header -->
            <div id="main">
                <%= @content_for_layout %>
            </div>
            <!-- /main -->
            <div id="footer">
                <span class="copyright_text">Copyright &copy; 2007-2008 Trinit.cn. All rights reserved.</span>
            </div>
        </div>
        <!-- container -->
    </body>
</html>
